package com.example.smartcity_ikun_new2.ui.notifications

import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Transformations
import androidx.lifecycle.ViewModel
import com.example.smartcity_ikun_new2.logic.Repository
import com.example.smartcity_ikun_new2.logic.model.LoginAll

class NotificationsViewModel : ViewModel() {
//    private val loginAll = MutableLiveData<String>()
//    val loginAllList = ArrayList<LoginAll.User>()
//    val loginAllLiveData = Transformations.switchMap(loginAll){ query ->
//        Repository().getLoginAll(query)
//    }
//    fun setLogin(token: String){
//        loginAll.value = token
//    }
}